using System;
using System.Collections.Generic;
using System.Text;
using Castle.MonoRail.Framework;
using System.Web.Security;
namespace WineCellar.Web.Web
{
    public class ChangePasswordEmailPropertyAccessor : MembershipMailPropertyAccessor
    {
        public new class Fields : MembershipMailPropertyAccessor.Fields
        {
            public const string Password = "password";
        }
        public ChangePasswordEmailPropertyAccessor(Controller controller, MembershipUser user)
            : base(controller, user)
        {
        }

        public string Password
        {
            get { return (string)this.Controller.PropertyBag[Fields.Password]; }
            set { this.Controller.PropertyBag[Fields.Password] = value; }
        }

    }
}
